package com.guli.mall.pms.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.guli.common.valid.AddGroup;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Null;

/**
 * spu信息介绍
 * 用于保存一个商品的所有的大长图片集合
 * @author 罗俊华
 * @email 1007052116@qq.com
 * @date 2020-09-17 11:37:22
 */
@Data
@TableName("pms_spu_info_desc")
public class SpuInfoDescEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 商品id
	 */
	@TableId
	@Null(groups = AddGroup.class)
	private Long spuId;
	/**
	 * 商品介绍
	 */
	@NotEmpty(groups = AddGroup.class)
	private String decript;

}
